<!DOCTYPE html [
    <!ENTITY nbsp "&#160;">
    <!ENTITY bull "&#8226;">
    <!ENTITY copy "&#169;">
    ]>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
<h:head>
    <f:facet name="first">
   		<meta name="author" content="Shangrila Shell"></meta>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
        <meta name="apple-mobile-web-app-capable" content="yes" />
       	<meta http-equiv="Cache-Control" content="no-store" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<link rel="bookmark" type="image/png" href="#{request.contextPath}/resources/images/favicon.png"/>
        <link rel="shortcut icon" type="image/png" href="#{request.contextPath}/resources/images/favicon.png" />
    </f:facet>

	<title>工程项目管理平台</title>
    <h:outputStylesheet library="css" name="grid.css" />
    <h:outputStylesheet library="css" name="app.css" />
    <h:outputScript name="jquery/jquery.js" library="primefaces" />
    <h:outputScript name="jquery/jquery-plugins.js" library="primefaces" />
    <h:outputScript name="core.js" library="primefaces" />
	<script type="text/javascript">  
	    PrimeFaces.locales['zh'] = {
	    closeText: '关闭',
	    prevText: '前月',
	    nextText: '后月',
	    currentText: '当前',
	    monthNames: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
	    monthNamesShort: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
	    dayNames: ['周日','周一','周二','周三','周四','周五','周六'],
	    dayNamesShort: ['日','一','二','三','四','五','六'],
	    dayNamesMin: ['日','一','二','三','四','五','六'],
	    weekHeader: '星期',
	    firstDay: 1,
	    isRTL: false,
	    showMonthAfterYear: false,
	    yearSuffix: '',
	    timeOnlyTitle: '时间',
	    timeText: '时间',
	    hourText: '小时',
	    minuteText: '分钟',
	    secondText: '秒',
	    ampm: false,
	    month: '月',
	    week: '周',
	    day: '日',
	    allDayText : '天'
	};
	</script>
	<style type="text/css">
	</style>	
 	<ui:insert name="head" />
</h:head>
<h:body>
	<p:layout fullPage="true" style="border:none;" collapseTitle="收起"  expandTitle="展开" closeTitle="关闭">
		<p:layoutUnit position="north" size="88" >
			<div class="head">
				<div class="head_logo">
					<img src="#{resource['images/logo_head.jpg']}" />
				</div>
				<div class="head_txt fon">工程项目管理平台</div>					
				<div class="head_nav fon">					
					<ul>					    
						<li class="fon"><a href="#{request.contextPath}/pages/home.xhtml?faces-redirect=true">主页</a></li>
						<li class="fon"><a href="#{request.contextPath}/pages/wfm/wfm_mgr_task.xhtml">我的工作</a></li>
						<li class="fon"><a href="#{request.contextPath}/pages/wfm/wfm_mgr_info.xhtml">我的通知</a></li>
						<li class="fon"><a href="#{request.contextPath}/pages/wfm/wfm_mgr_start.xhtml">我的流程</a></li>
					</ul>
				</div>					
			</div>			 
		</p:layoutUnit>		
		<p:layoutUnit position="south" size="50" closable="true" collapsible="true" collapsed="true">		 
			<div class="foot_txt">				
				&nbsp;&nbsp;&nbsp;&nbsp;Copyright © 2018 YFHT. All Rights Reserved. 益丰合泰 版权所有&#169;&nbsp;&nbsp;V#{appInitInfo.version}&nbsp;&nbsp;
				<!-- 
				<p:clock pattern="yyyy-MM-dd HH:mm:ss" mode="server" />&nbsp;&nbsp;&nbsp;&nbsp;	
				 -->
			</div>
		</p:layoutUnit>
		<p:layoutUnit position="west" size="180" resizable="true"  
			collapsible="true" header="登陆用户【#{appShiroValidate.username}】" >
			<h:form>
				<!-- 			
				<h:outputText value="&nbsp;&nbsp;&nbsp;【#{appShiroValidate.username}】" style="text-align:center;font-size:18px;font-wight:bold;color:blue;"/>	
				 -->
				<p:growl id="messages" showDetail="false" />
				<p:panelMenu model="#{appShiroValidate.model}"  />
			</h:form>
		</p:layoutUnit>
		<p:layoutUnit position="center"  style="border: none;">
			<!-- <ui:include src="mega-menu.xhtml" />  -->
			<div class="main_title ">
				<div class="main_title_txt fon">
					<ui:insert name="ptitle">工程项目管理平台</ui:insert>					
				</div>
			</div>
			<div class="main_work">
				<ui:insert name="pcontent">
					<div class="main_work_txt">
						<!-- <img src="#{request.contextPath}/resources/images/mainflow.jpg"/>	 -->
					</div>
				</ui:insert>
			</div>
		</p:layoutUnit>
        <p:layoutUnit position="east" size="200" header="通知消息" resizable="true" 
        	closable="true" collapsible="true" collapsed="true" >
            <h:outputText value="【管理员】大家好." />
         </p:layoutUnit>
	</p:layout>

	<!-- 所有操作都有阻塞等待提示 -->
	<!-- 
	<p:ajaxStatus onstart="PF('statusDialog').show()" onsuccess="PF('statusDialog').hide()" />
	<p:dialog widgetVar="statusDialog" modal="true" 
		draggable="false" closable="false" resizable="false" showHeader="false">
	    <p:graphicImage library="images" name="ajaxloadingbar.gif" />
	</p:dialog>
	 -->
</h:body>
</html>
